package com.qm.console.dao.model;

import java.util.Date;

public class ManualRechargeDO {
    private Integer id;

    private Date targetDate;

    private Integer uid;

    private Integer amount;

    private String who;

    private String why;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getTargetDate() {
        return targetDate;
    }

    public void setTargetDate(Date targetDate) {
        this.targetDate = targetDate;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getWho() {
        return who;
    }

    public void setWho(String who) {
        this.who = who == null ? null : who.trim();
    }

    public String getWhy() {
        return why;
    }

    public void setWhy(String why) {
        this.why = why == null ? null : why.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", targetDate=").append(targetDate);
        sb.append(", uid=").append(uid);
        sb.append(", amount=").append(amount);
        sb.append(", who=").append(who);
        sb.append(", why=").append(why);
        sb.append("]");
        return sb.toString();
    }
}